Acute: High-level programming language design for distributed computation : Design rationale and language definition
نویسندگان
چکیده
This paper studies key issues for distributed programming in high-level languages. We discuss the design space and describe an experimental language, Acute, which we have defined and implemented. Acute extends an OCaml core to support distributed development, deployment, and execution, allowing typesafe interaction between separately-built programs. It is expressive enough to enable a wide variety of distributed infrastructure layers to be written as simple library code above the byte-string network and persistent store APIs, disentangling the language runtime from communication. This requires a synthesis of novel and existing features: (1) type-safe marshalling of values between programs; (2) dynamic loading and controlled rebinding to local resources; (3) modules and abstract types with abstraction boundaries that are respected by interaction; (4) global names, generated either freshly or based on module hashes: at the type level, as runtime names for abstract types; and at the term level, as channel names and other interaction handles; (5) versions and version constraints, integrated with type identity; (6) local concurrency and thread thunkification; and (7) second-order polymorphism with a namecase construct. We deal with the interplay among these features and the core, and develop a semantic definition that tracks abstraction boundaries, global names, and hashes throughout compilation and execution, but which still admits an efficient implementation strategy. Key-words: programming languages, distributed programming, marshalling, serialisation, abstract types, modules, rebinding, version control, type theory, ML
منابع مشابه
High-level programming language design for distributed computation Design rationale and language definition
This paper studies key issues for distributed programming in high-level languages. We discuss the design space and describe an experimental language, Acute, which we have defined and implemented. Acute extends an OCaml core to support distributed development, deployment, and execution, allowing typesafe interaction between separately-built programs. It is expressive enough to enable a wide vari...
متن کاملMarshalling: Abstraction, Rebinding, and Version Control
We discuss the design of programming languages for distributed computation, focussing on support for type-safe marshalling of arbitrary language values. In particular: (1) unmarshalling can involve rebinding to local resources; (2) values of abstract types can be communicated, and a globally-coherent notion of type equality ensures that unmarshalling respects abstraction; and (3) interoperation...
متن کاملDesigning a Language for Spatial Computing
We present the design rationale underlying a language for spatial computing and sketch a prototypical implementation in Python. The goal of this work is to provide a high-level language for spatial computing that is executable on existing commercial and open source spatial computing platforms, particularly Geographic Information Systems (GIS). The key idea of the approach is to target an abstra...
متن کاملSDL: A Dataflow Language for Component Composition and Programming-in-the-Large
This paper proposes a new framework for high-level component-based software development that is based on the dataflow model of computation and dataflow diagrams. A component composition language, called SDL, that supports both top-down system specification and design through multiple levels of abstraction as well as bottom-up system assembly by coupling a collection of previously defined, highl...
متن کاملA Language for Compositional Programming: a Rationale and Design
A rationale and description of a language for exploratory and educational programming in a compositional style is presented. By ‘compositional’ a functional programming style is meant where the computation is a hierarchy of function compositions and applications. One of the datatypes of the language is that of the geometrical figures that can be obtained by simple rules of spatial correlation, ...
متن کامل